import java.util.Scanner;

public class Zxf1 {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        System.out.println("请输入两个数");
         double a=in.nextInt();
         double b=in.nextInt();
         int aa=(int)(a+b);int bb=(int)(a-b);
         double ab=a*b;
         double ba=a/b;
         double aby=a%b;
         System.out.println("和:"+aa+"\n"+"差:"+bb+"\n"+"积:"+ab+"\n"+"商:"+ba+"\n"+"取余:"+aby);
    }

}
